package com.zust.zst.teacher.service;

import com.zust.zst.common.dto.teacher.AddTeacherDTO;
import com.zust.zst.common.dto.teacher.Teacher;
import com.zust.zst.common.vo.teacher.UpdateVO;

import java.util.List;

public interface TeacherCourseService {
    List<Teacher> showAllTeachers(int startIndex, int pageSize);
    List<Teacher> getTeacherById(int uid);
    List<Teacher> getTeacherByName(String name);
    int addTeacher(AddTeacherDTO addTeacherDTO);
    int updateTeacher(UpdateVO updateVO);
    int deleteTeacher(int uid);
    int getTotalTeacher();
}
